package hoang.android.app.item;

import hoang.android.app.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

public class ItemVideo extends LinearLayout{
	public ImageView imgThumbnail;
	public TextView tvTitle, tvDuration, tvNumberViews;
	public CheckBox cbChecked;
	
	public ItemVideo(Context context) {
		super(context);
		
		LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		inflater.inflate(R.layout.item_video, this);
		
		imgThumbnail = (ImageView)findViewById(R.id.thumbnailVideo);
		tvTitle = (TextView)findViewById(R.id.titleVideo);
		tvDuration = (TextView)findViewById(R.id.durationVideo);
		tvNumberViews = (TextView)findViewById(R.id.numbersVideo);
		cbChecked = (CheckBox)findViewById(R.id.checkVideo);
	}

}
